site.canCheckIn()

Availability 3.0
Description Determines whether Dreamweaver can perform a Check In operation.
Arguments siteOrURL
The argument must be the keyword "site", indicating that the function should act on the selection in the Site window, or the URL for a single file.
Returns A Boolean value indicating whether all of the following conditions are true:
A remote site has been defined.
If a Document window has focus, the file has been saved in a local site; or, if the Site window has focus, one or more files or folders is selected.
Check in/check out is turned on.